package org.lixf.mapper;

import org.apache.ibatis.annotations.Param;
import org.lixf.entity.Employee;

import java.util.List;

public interface EmployeeMapper {
    void insert(Employee employee);
    void update(Employee employee);
    void updatePassword(Employee employee);
    void delete(String sn);
    Employee select(String sn);
    List<Employee> selectAll();
    List<Employee> selectByDepartmentAndPost(@Param("dsn") String dsn, @Param("post") String post);
}
